Unregister the package from the store. Once unregistered, the package cannot be viewed.
Parent Type: SharePointPackageStore
Namespace: Microsoft.LearningComponents.SharePoint
Assembly: Microsoft.LearningComponents.SharePoint.dll
| C# |
|
public void UnregisterPackage ( ) |
packageId
The PackageItemIdentifier of the package to unregister.
| Exception type | Condition |
| LearningStoreItemNotFoundException | Thrown if the packageId does not represent a package in the store. |
| LearningStoreConstraintViolationException | Thrown if the package cannot be deleted from LearningStore because there are other items in the store that depend upon it. For instance, a package for which there are attempts in LearningStore, cannot be unregistered. |